package it.mauriziobasile.sincrodir.entita;

public class File extends java.io.File {

	private static final long serialVersionUID = 8234003706064415267L;

	public File(String pathname) {
		super(pathname);
	}
	
	@Override
	public boolean equals(Object obj) {
		if (obj instanceof File){
			File f = (File)obj;
			return f.getName().equals(getName());
		}
		return false;
	}

}
